package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by xu_jiaHui on 2017/12/10.
 */
@Entity
@Table(name = "tb_port_blue_rule", schema = "hualude_db", catalog = "")
public class PortBlueRuleEntity {
    private Integer blueRuleId;
    private Integer ruleModelId;
    private Integer blueRuleLevel;
    private String blueRuleName;
    private String blueRuleContent;
    private Integer blueRuleLimitTime;
    private String blueRuleFlag;

    public PortBlueRuleEntity() {
    }

    public PortBlueRuleEntity(Integer blueRuleId, Integer ruleModelId, Integer blueRuleLevel, String blueRuleName, String blueRuleContent, Integer blueRuleLimitTime, String blueRuleFlag) {
        this.blueRuleId = blueRuleId;
        this.ruleModelId = ruleModelId;
        this.blueRuleLevel = blueRuleLevel;
        this.blueRuleName = blueRuleName;
        this.blueRuleContent = blueRuleContent;
        this.blueRuleLimitTime = blueRuleLimitTime;
        this.blueRuleFlag = blueRuleFlag;
    }

    @Id
    @Column(name = "BlueRuleId")
    @GeneratedValue ( strategy = GenerationType.IDENTITY )
    public Integer getBlueRuleId() {
        return blueRuleId;
    }

    public void setBlueRuleId(Integer blueRuleId) {
        this.blueRuleId = blueRuleId;
    }

    @Basic
    @Column(name = "RuleModelId")
    public Integer getRuleModelId() {
        return ruleModelId;
    }

    public void setRuleModelId(Integer ruleModelId) {
        this.ruleModelId = ruleModelId;
    }

    @Basic
    @Column(name = "BlueRuleLevel")
    public Integer getBlueRuleLevel() {
        return blueRuleLevel;
    }

    public void setBlueRuleLevel(Integer blueRuleLevel) {
        this.blueRuleLevel = blueRuleLevel;
    }

    @Basic
    @Column(name = "BlueRuleName")
    public String getBlueRuleName() {
        return blueRuleName;
    }

    public void setBlueRuleName(String blueRuleName) {
        this.blueRuleName = blueRuleName;
    }

    @Basic
    @Column(name = "BlueRuleContent")
    public String getBlueRuleContent() {
        return blueRuleContent;
    }

    public void setBlueRuleContent(String blueRuleContent) {
        this.blueRuleContent = blueRuleContent;
    }

    @Basic
    @Column(name = "BlueRuleLimitTime")
    public Integer getBlueRuleLimitTime() {
        return blueRuleLimitTime;
    }

    public void setBlueRuleLimitTime(Integer blueRuleLimitTime) {
        this.blueRuleLimitTime = blueRuleLimitTime;
    }

    @Basic
    @Column(name = "BlueRuleFlag")
    public String getBlueRuleFlag() {
        return blueRuleFlag;
    }

    public void setBlueRuleFlag(String blueRuleFlag) {
        this.blueRuleFlag = blueRuleFlag;
    }


}
